<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Objective-C JS Example</title>
    <script>
        function displayMessage(params) {
            document.getElementById('message').innerText = "Received: " + params.key;
        }
    </script>
</head>
<body>
    <h1>Objective-C and JavaScript Communication</h1>
    <div id="message">Waiting for message...</div>
</body>
</html>

